<template>
	<view class="u-btn size22 sizeblod" :style="{color:color,background:`linear-gradient(${bg})`}">
		<slot></slot>
	</view>
</template>

<script>
	export default {
		props:{
			color:{
				type:String,
				default:'#333333'
			},
			bg:{
				type:String,
				default:'90deg, #FFE57B, #FFB527'
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss" scoped>
	.u-btn{
		padding: 7upx 12upx;
		box-sizing: border-box;
		display: inline-block;
		margin-right: 15upx;
		border-radius: 6upx;
	}
</style>
